import request from '@/utils/request';

/**
* ${description}
* @date ${.now}
*/
export async function findOne(data) {
    return request({
        url: '/${moduleName}/${functionName}/findOne.do',
        method: 'post',
        headers: {
            'Content-Type': 'multipart/form-data'
        },
        data
    });
}

export async function add(data) {
    return request({
        url: '/${moduleName}/${functionName}/add.do',
        method: 'post',
        headers: {
        'Content-Type': 'multipart/form-data'
        },
        data
    });
}

export async function update(data) {
    return request({
        url: '/${moduleName}/${functionName}/update.do',
        method: 'post',
        headers: {
        'Content-Type': 'multipart/form-data'
        },
        data
    });
}

export async function remove(data) {
    return request({
        url: '/${moduleName}/${functionName}/remove.do',
        method: 'post',
        headers: {
        'Content-Type': 'multipart/form-data'
        },
        data
    });
}
